/**
 * 所有使用SAAS服务端 客户都视为B端客户，所以SDK是以B端开发为需求基础，对接Merch接口
 * @author seeker910
 * @description redjs javascript sdk :cms-api.js
 * @description 网站相关api 接口
 */ 

var agentHost = {
    text:'Agent服务',
    name:'agent',
    url:'http://agent.redmicro.cn/',  
    index:'dev/index',
    isLoaded:false,
    useSSL:false,
    controllers:[
        {name:'merch.site.design',path:'merch/site/design',GetDescription:'GetDes'}, 
    ]
};

/**
* 加载api services
*/
Rsd.loadServices(agentHost,[],function(data,state){
    if(state=='serviceLoaded')
    rsd.app.fire('agent-api',data);
});
//缓存数据
Rsd.merch = Rsd.merch||{};
